//
//  TokenManager.h
//  RYMart
//
//  Created by iMac on 2017/11/2.
//  Copyright © 2017年 Jason. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TokenManager : NSObject
+ (void)saveToken:(NSString *)token;
+ (NSString *)getToken;
+ (void)removeToken;
+ (BOOL)loginStatus;

+ (void)saveUserId:(NSString *)userId;
+ (NSString *)getUserId;
+ (void)removeUserId;

+ (NSString *)getLanguage;


+ (void)saveSection_main:(NSString *)section_main; // //1为归属部门  2为集团归属部门
+ (NSString *)getSection_main;
+ (void)removeSection_main;

+ (void)saveSection_normal:(NSString *)section_normal;
+ (NSString *)getSection_normal;
+ (void)removeSection_normal;

+ (void)saveLeader_main:(NSString *)leader_main;
+ (NSString *)getLeader_main;
+ (void)removeLeader_main;

+ (void)saveLeader_normal:(NSString *)leader_normal;
+ (NSString *)getLeader_normal;
+ (void)removeLeader_normal;


+ (void)saveIsheadOffice:(NSString *)is_headOffice;
+ (NSString *)getIsheadOffice;


+ (void)saveGetHotTel:(NSString *)hotTel;
+ (NSString *)getHotTel;

@end
